package com.zhiteng.entity;

import java.io.Serializable;

import javax.persistence.Id;

/**
 * 
* <p>Title: User.java</p>  
* <p>Description: 用户实体（usertype:0-学校创建者；1-学生；2-教师；4-校友；5-退休老师；6-其他）</p>  
* @author dragon  
* @date 2018年11月8日  
* @version 1.0
 */
public class User implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	private String userid;
	private String wxuserid;
	private String name;
	private String head;
	private String departid;
	private Integer is_subscribe; 
	private String user_no;
	private String cellphone;
	private Integer usertype;
	private Integer gender;
	private String join_date;
	private String duty_type;
	private String school_name;
	
	public String getUserid() {
		return userid;
	}
	public void setUserId(String userId) {
		this.userid = userId;
	}
	public String getWxuserid() {
		return wxuserid;
	}
	public void setWxuserid(String wxuserid) {
		this.wxuserid = wxuserid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getHead() {
		return head;
	}
	public void setHead(String head) {
		this.head = head;
	}
	public String getDepartid() {
		return departid;
	}
	public void setDepartid(String departid) {
		this.departid = departid;
	}
	public Integer getIs_subscribe() {
		return is_subscribe;
	}
	public void setIs_subscribe(Integer is_subscribe) {
		this.is_subscribe = is_subscribe;
	}
	public String getUser_no() {
		return user_no;
	}
	public void setUser_no(String user_no) {
		this.user_no = user_no;
	}
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	public Integer getUsertype() {
		return usertype;
	}
	public void setUsertype(Integer usertype) {
		this.usertype = usertype;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public String getJoin_date() {
		return join_date;
	}
	public void setJoin_date(String join_date) {
		this.join_date = join_date;
	}
	public String getDuty_type() {
		return duty_type;
	}
	public void setDuty_type(String duty_type) {
		this.duty_type = duty_type;
	}
	public String getSchool_name() {
		return school_name;
	}
	public void setSchool_name(String school_name) {
		this.school_name = school_name;
	}
}
